package cn.com.blueInfo.bpm.person.entity;

import cn.com.blueInfo.bpm.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 员工联合信息表
 * @author suxch
 * @since 2025-08-24 01:39:52
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mc_osm_user_union", autoResultMap = true)
@Schema(description = "员工联合信息表")
public class UserUnion extends BaseEntity {

    /** ID */
    @TableId(type = IdType.INPUT)
    @Schema(description = "ID")
    private Long id;
    /** 身份ID */
    @Schema(description = "身份ID")
    private Long userIdentityId;
    /** 员工基本信息ID */
    @Schema(description = "员工基本信息ID")
    private Long userBaseId;
    /** 员工帐号ID */
    @Schema(description = "员工帐号ID")
    private Long userAccountId;
    /** 组织级别ID */
    @Schema(description = "组织级别ID")
    private Long orgLevelId;
    /** 组织ID */
    @Schema(description = "组织ID")
    private Long orgId;
    /** 岗位定义ID */
    @Schema(description = "岗位定义ID")
    private Long postDefId;
    /** 岗位实例ID */
    @Schema(description = "岗位实例ID")
    private Long postId;
    /** 职务ID */
    @Schema(description = "职务ID")
    private Long headshipId;

}
